using System;
using System.Data;
using System.Data.SqlTypes;
using System.Data.SqlClient;

namespace DataEntity
{
	public class T_Report_ChangeOperater : DBInteractionBase
	{
		#region Class Member Declarations
			private SqlDateTime		_report_ChangeOperater_ExchangeDate;
			private SqlInt32		_report_Plan_Audit, _report_ChangeOperater_ExchangeTypeID;
			private SqlDecimal		_report_ChangeOperater_Price, _report_ChangeOperater_FormlyerOperater, _report_ChangeOperater_NowOperater;
			private SqlString		_report_ChangeOperater_Reason, _report_ChangeOperater_ReportNO, _report_ChangeOperater_Unit;
            private SqlGuid         _report_ChangeOperater_ID, _report_ChangeOperater_ProjectID;
		#endregion








		#region Class Property Declarations
		public SqlGuid Report_ChangeOperater_ID
		{
			get
			{
				return _report_ChangeOperater_ID;
			}
			set
			{
				_report_ChangeOperater_ID = value;
			}
		}
        public SqlGuid Report_ChangeOperater_ProjectID
        {
            get
            {
                return _report_ChangeOperater_ProjectID;
            }
            set
            {
                _report_ChangeOperater_ProjectID = value;
            }
        }

		public SqlInt32 Report_ChangeOperater_ExchangeTypeID
		{
			get
			{
				return _report_ChangeOperater_ExchangeTypeID;
			}
			set
			{
				SqlInt32 report_ChangeOperater_ExchangeTypeIDTmp = (SqlInt32)value;
				if(report_ChangeOperater_ExchangeTypeIDTmp.IsNull)
				{
					throw new ArgumentOutOfRangeException("Report_ChangeOperater_ExchangeTypeID", "Report_ChangeOperater_ExchangeTypeID can't be NULL");
				}
				_report_ChangeOperater_ExchangeTypeID = value;
			}
		}


		public SqlString Report_ChangeOperater_ReportNO
		{
			get
			{
				return _report_ChangeOperater_ReportNO;
			}
			set
			{
				SqlString report_ChangeOperater_ReportNOTmp = (SqlString)value;
				if(report_ChangeOperater_ReportNOTmp.IsNull)
				{
					throw new ArgumentOutOfRangeException("Report_ChangeOperater_ReportNO", "Report_ChangeOperater_ReportNO can't be NULL");
				}
				_report_ChangeOperater_ReportNO = value;
			}
		}


		public SqlDateTime Report_ChangeOperater_ExchangeDate
		{
			get
			{
				return _report_ChangeOperater_ExchangeDate;
			}
			set
			{
				SqlDateTime report_ChangeOperater_ExchangeDateTmp = (SqlDateTime)value;
				if(report_ChangeOperater_ExchangeDateTmp.IsNull)
				{
					throw new ArgumentOutOfRangeException("Report_ChangeOperater_ExchangeDate", "Report_ChangeOperater_ExchangeDate can't be NULL");
				}
				_report_ChangeOperater_ExchangeDate = value;
			}
		}


		public SqlString Report_ChangeOperater_Unit
		{
			get
			{
				return _report_ChangeOperater_Unit;
			}
			set
			{
				SqlString report_ChangeOperater_UnitTmp = (SqlString)value;
				if(report_ChangeOperater_UnitTmp.IsNull)
				{
					throw new ArgumentOutOfRangeException("Report_ChangeOperater_Unit", "Report_ChangeOperater_Unit can't be NULL");
				}
				_report_ChangeOperater_Unit = value;
			}
		}


		public SqlDecimal Report_ChangeOperater_Price
		{
			get
			{
				return _report_ChangeOperater_Price;
			}
			set
			{
				SqlDecimal report_ChangeOperater_PriceTmp = (SqlDecimal)value;
				if(report_ChangeOperater_PriceTmp.IsNull)
				{
					throw new ArgumentOutOfRangeException("Report_ChangeOperater_Price", "Report_ChangeOperater_Price can't be NULL");
				}
				_report_ChangeOperater_Price = value;
			}
		}


		public SqlDecimal Report_ChangeOperater_FormlyerOperater
		{
			get
			{
				return _report_ChangeOperater_FormlyerOperater;
			}
			set
			{
				SqlDecimal report_ChangeOperater_FormlyerOperaterTmp = (SqlDecimal)value;
				if(report_ChangeOperater_FormlyerOperaterTmp.IsNull)
				{
					throw new ArgumentOutOfRangeException("Report_ChangeOperater_FormlyerOperater", "Report_ChangeOperater_FormlyerOperater can't be NULL");
				}
				_report_ChangeOperater_FormlyerOperater = value;
			}
		}


		public SqlDecimal Report_ChangeOperater_NowOperater
		{
			get
			{
				return _report_ChangeOperater_NowOperater;
			}
			set
			{
				SqlDecimal report_ChangeOperater_NowOperaterTmp = (SqlDecimal)value;
				if(report_ChangeOperater_NowOperaterTmp.IsNull)
				{
					throw new ArgumentOutOfRangeException("Report_ChangeOperater_NowOperater", "Report_ChangeOperater_NowOperater can't be NULL");
				}
				_report_ChangeOperater_NowOperater = value;
			}
		}


		public SqlString Report_ChangeOperater_Reason
		{
			get
			{
				return _report_ChangeOperater_Reason;
			}
			set
			{
				SqlString report_ChangeOperater_ReasonTmp = (SqlString)value;
				if(report_ChangeOperater_ReasonTmp.IsNull)
				{
					throw new ArgumentOutOfRangeException("Report_ChangeOperater_Reason", "Report_ChangeOperater_Reason can't be NULL");
				}
				_report_ChangeOperater_Reason = value;
			}
		}


		public SqlInt32 Report_Plan_Audit
		{
			get
			{
				return _report_Plan_Audit;
			}
			set
			{
				SqlInt32 report_Plan_AuditTmp = (SqlInt32)value;
				if(report_Plan_AuditTmp.IsNull)
				{
					throw new ArgumentOutOfRangeException("Report_Plan_Audit", "Report_Plan_Audit can't be NULL");
				}
				_report_Plan_Audit = value;
			}
		}
		#endregion
	}
}
